package com.xmy.erp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 缺课记录
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-09
 */
@TableName("lack_course_log")
@ApiModel(value = "LackCourseLog对象", description = "缺课记录")
public class LackCourseLog implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("所属校区")
    private Long schoolId;

    @ApiModelProperty("科目id")
    private Long subjectsId;

    @ApiModelProperty("班级id")
    private Long gradeId;

    @ApiModelProperty("学生id")
    private Long studentId;

    @ApiModelProperty("年份")
    private Integer yearPart;

    @ApiModelProperty("学期")
    private Integer quarterNum;

    @ApiModelProperty("学段，0少儿，1小学，2初中，3高中")
    private Integer gradeSection;

    @ApiModelProperty("年级")
    private Integer yearClassId;

    @ApiModelProperty("是否签到：0否，1是(这里签到时候用的)")
    private Integer isSignIn;

    @ApiModelProperty("0未上，1已上")
    private Integer status;

    @ApiModelProperty("缺的是哪个日程课id(对应总排课id)")
    private Long schedulingAlwaysId;

    @ApiModelProperty("1正常报名，5是转校")
    private Integer type;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("0未安排，1已补课，2已安排")
    private Integer isRepair;

    @ApiModelProperty("repair表id，安排的补课id")
    private Long repairId;

    @ApiModelProperty("安排的补课信息结束时间")
    private LocalDateTime repairEndDateTime;

    private Integer deleted;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }
    public Long getSubjectsId() {
        return subjectsId;
    }

    public void setSubjectsId(Long subjectsId) {
        this.subjectsId = subjectsId;
    }
    public Long getGradeId() {
        return gradeId;
    }

    public void setGradeId(Long gradeId) {
        this.gradeId = gradeId;
    }
    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }
    public Integer getYearPart() {
        return yearPart;
    }

    public void setYearPart(Integer yearPart) {
        this.yearPart = yearPart;
    }
    public Integer getQuarterNum() {
        return quarterNum;
    }

    public void setQuarterNum(Integer quarterNum) {
        this.quarterNum = quarterNum;
    }
    public Integer getGradeSection() {
        return gradeSection;
    }

    public void setGradeSection(Integer gradeSection) {
        this.gradeSection = gradeSection;
    }
    public Integer getYearClassId() {
        return yearClassId;
    }

    public void setYearClassId(Integer yearClassId) {
        this.yearClassId = yearClassId;
    }
    public Integer getIsSignIn() {
        return isSignIn;
    }

    public void setIsSignIn(Integer isSignIn) {
        this.isSignIn = isSignIn;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public Long getSchedulingAlwaysId() {
        return schedulingAlwaysId;
    }

    public void setSchedulingAlwaysId(Long schedulingAlwaysId) {
        this.schedulingAlwaysId = schedulingAlwaysId;
    }
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    public Integer getIsRepair() {
        return isRepair;
    }

    public void setIsRepair(Integer isRepair) {
        this.isRepair = isRepair;
    }
    public Long getRepairId() {
        return repairId;
    }

    public void setRepairId(Long repairId) {
        this.repairId = repairId;
    }
    public LocalDateTime getRepairEndDateTime() {
        return repairEndDateTime;
    }

    public void setRepairEndDateTime(LocalDateTime repairEndDateTime) {
        this.repairEndDateTime = repairEndDateTime;
    }
    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }
    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }
    public LocalDateTime getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(LocalDateTime updatedAt) {
        this.updatedAt = updatedAt;
    }

    @Override
    public String toString() {
        return "LackCourseLog{" +
            "id=" + id +
            ", schoolId=" + schoolId +
            ", subjectsId=" + subjectsId +
            ", gradeId=" + gradeId +
            ", studentId=" + studentId +
            ", yearPart=" + yearPart +
            ", quarterNum=" + quarterNum +
            ", gradeSection=" + gradeSection +
            ", yearClassId=" + yearClassId +
            ", isSignIn=" + isSignIn +
            ", status=" + status +
            ", schedulingAlwaysId=" + schedulingAlwaysId +
            ", type=" + type +
            ", remark=" + remark +
            ", isRepair=" + isRepair +
            ", repairId=" + repairId +
            ", repairEndDateTime=" + repairEndDateTime +
            ", deleted=" + deleted +
            ", createdAt=" + createdAt +
            ", updatedAt=" + updatedAt +
        "}";
    }
}
